package com.system.entity;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.io.Serializable;

/**
 * 老师课表查询映射类
 */
@Component
@CrossOrigin
public class Teachcourse implements Serializable {
    private Integer courseId;

    private Long teaId;

    public Teachcourse(Integer courseId, Long teaId) {
        this.courseId = courseId;
        this.teaId = teaId;
    }

    public Teachcourse() {
        super();
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Long getTeaId() {
        return teaId;
    }

    public void setTeaId(Long teaId) {
        this.teaId = teaId;
    }
}
